<template>
	<router-view v-if="$route.path === '/login'"></router-view>
	<layout v-else></layout>
</template>

<script setup>
	import {
		onMounted
	} from 'vue';
	import layout from './layout/index.vue'
	onMounted(() => {})
</script>

<style lang="scss">
	#app {
		font-family: Avenir, Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		color: #2c3e50;
		height: 100%;
	}

	html,
	body {
		margin: 0px;
		height: 100%;
	}
</style>